package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 商家微信授权认证表
 * </p>
 *
 * @author WEN
 * @since 2024-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjCustomerWxAuthor对象", description="商家微信授权认证表")
public class ZjCustomerWxAuthor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商家ID/主健ID")
    private Long id;

    @ApiModelProperty(value = "商家是否认证授权：0-否，1-是")
    @TableField("is_author")
    private Boolean author;

    @ApiModelProperty(value = "授权认证微信方appID")
    private String authorizerAppid;

    @ApiModelProperty(value = "使用授权码获取授权信息")
    private String authorizerRefreshToken;

    @ApiModelProperty(value = "所创建的开放平台账号的 appid")
    private String openAppid;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
